$(document).ready(function() {
	$('.logout').on('click', function(event) {
		event.preventDefault();
		$.get(_CTX_PATH_ + '/logout', function(data) {
			if (data.result == true) {
				alert('退出登录成功');
			} else {
				alert('您还未登录或者登录已经超时');
			}
			window.location.href = data.url;
		});
	});
});